package com.gec.common;


import com.gec.common.ExceptionEnum;
import lombok.Data;

//识别异常类
@Data
public class RecognitionException {
 private int layer;
 // 枚举值，自行发挥
 private ExceptionEnum exception;
 private int beginWeight;
 private int endWeight;

    public RecognitionException(int layer, ExceptionEnum exception, int beginWeight, int endWeight) {
        this.layer = layer;
        this.exception = exception;
        this.beginWeight = beginWeight;
        this.endWeight = endWeight;
    }
}